#pragma once

#include "MWAllocObj.h"

namespace Myway
{

class MW_ENTRY RefObj
{
public:
    RefObj();
    virtual ~RefObj();

    int IncRef();
    int DecRef();

    int RefCount();

	virtual void Release() = 0;

protected:
    int mReferenceCount;
};

#include "MWRefObj.inl"

}